package com.vogue.supplymall.order.domain.service.impl;

import com.vogue.ssm.database.dao.BaseDao;
import com.vogue.supplymall.common.domain.dto.SearchRefundInfo;
import com.vogue.supplymall.order.domain.dao.RefundOrderDao;
import com.vogue.supplymall.order.domain.model.RefundOrder;
import com.vogue.supplymall.order.domain.service.RefundOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * The type Refund order service.
 */
@Service("refundOrderServcice")
public class RefundOrderServiceImpl extends BaseServiceImpl<RefundOrder, Long> implements RefundOrderService {

    @Resource
    private RefundOrderDao refundOrderDao;

    /**
     * Instantiates a new Refund order service.
     *
     * @param baseDao the base dao
     */
    public RefundOrderServiceImpl(BaseDao<RefundOrder, Long> baseDao) {
        super(baseDao);
    }

    @Override
    public List<Map<String, Object>> findRefundOrderList(SearchRefundInfo searchRefundInfo) {

        return refundOrderDao.findRefundOrderList(searchRefundInfo);
    }

}
